Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODObjectNameSpace


Register

The Register method adds a new entry to this object name space.

void Register (in ODISOStr key, 
               in ODObject object);
key
The key for the new entry.
object
A reference to the object to associate with the key.
DISCUSSION
The Register method stores a reference to the object parameter in a new entry in the table. If the specified key already exists within this name space, this method overwrites the old entry with the new one.

When you register a reference-counted object to an object registry, this method does not increment its reference count.

SEE ALSO
The ODISOStr type (page 875).
The ODNameSpace::Unregister method (page 433).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help